Package com.cisco.pt.ipc.ui.impl
Class DialogManagerImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.ui.impl.DialogManagerImpl
- All Implemented Interfaces:
IPCObject,DialogManager
Information provided by the PKI file:
\class DialogManager
\brief DialogManager manages all the device dialogs.
\example appWindow().getDialogManager()
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionDialogManagerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionvoidcloseAll()Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
DialogManagerImpl
public DialogManagerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
closeAll
public void closeAll()Information provided by the PKI file:
\brief Closes all the device dialogs.- Specified by:
closeAllin interfaceDialogManager
-
getCurrentDialog
Information provided by the PKI file:
\brief Returns the currently focused dialog. \return DeviceDialog, the DeviceDialog object of the currently focused dialog.- Specified by:
getCurrentDialogin interfaceDialogManager- Returns:
- DeviceDialog Returns a DeviceDialog
-
getDialog
Information provided by the PKI file:
\brief Returns the device dialog with the specified device name. \param deviceName, the name of the device of interest. \return DeviceDialog, the DeviceDialog object with the specified device name.- Specified by:
getDialogin interfaceDialogManager- Parameters:
deviceName- Takes in a parameter of deviceName- Returns:
- DeviceDialog Returns a DeviceDialog
-
getFocusedDialogName
Information provided by the PKI file:
\brief Returns the device name of the dialog that is currently in focus. \return QString, the name of the device- Specified by:
getFocusedDialogNamein interfaceDialogManager- Returns:
- String Returns a String
-